package com.example.mvvmdemo.api;

import com.example.mvvmdemo.model.User;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;

/**
 * @author: tuyrt7 on 2020/8/31.
 * Describe:
 */
public interface Api {

    @GET("users/{userId}")
    Call<User> getUser(@Path("userId") String userId);
}
